home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
develop
/
symcoff.arc
/
PLACLOSE.C
< prev
next >
Wrap
Text File
|
1988-11-07
|
2KB
|
35 lines
static char *sccsid[]={"@(#)pldaclose.c 2.1",
"Copyright 1985 by Motorola Inc."};
#include <stdio.h> /*DBG*/
#ifdef PCPORT
#include "/pld/src/hd/pcport.h" /*PC-PORT*/
#endif
#include "../hd/pfilehdr.h"
#include "../hd/pldfcn.h"
#include "../hd/pldf_dcl.h" /*PC-PORT*/
/****************** PLDACLOSE ***************************************gs##*/
/* ##*/
/* ##*/
/* Written by: Michael Greenberg - MIL ##*/
/* ##*/
/* ##*/
/* ACTION: ##*/
/* Close a common object file, regardless of file type. ##*/
/* ##*/
/* RETURNS: ##*/
/* SUCCESS (it always succeeds) ##*/
/* ##*/
/* SYNOPSIS: ##*/
int pldaclose(ldptr) /*##*/
/* ------------------- ##*/
register LDFILE *ldptr; /*##*/
/* ##*/
/*************************************************************************##*/
{
fclose(IOPTR(ldptr));
pldfreeptr(ldptr);
return(SUCCESS);
}
/* Copyright 1985 by Motorola Inc. */